package com.yangziqiang.mapper;

import com.yangziqiang.entity.EsMovies;
import com.yangziqiang.entity.Movies;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author BenjaminYang
 * @since 2022-02-09
 */
public interface MoviesMapper extends BaseMapper<Movies> {

    @Select("select * from movies")
    List<EsMovies> listForEs();
}
